package com.sykj.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

@TableName("book")
public class Book implements Serializable {
	@TableId(value="tid",type=IdType.AUTO)
    private int tid;
    private String tname;
    private String tzz;
    private String tcbs;
    private String tzk;
    private String tjg;
    private String tyj;

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getTzz() {
        return tzz;
    }

    public void setTzz(String tzz) {
        this.tzz = tzz;
    }

    public String getTcbs() {
        return tcbs;
    }

    public void setTcbs(String tcbs) {
        this.tcbs = tcbs;
    }

    public String getTzk() {
        return tzk;
    }

    public void setTzk(String tzk) {
        this.tzk = tzk;
    }

    public String getTjg() {
        return tjg;
    }

    public void setTjg(String tjg) {
        this.tjg = tjg;
    }

    public String getTyj() {
        return tyj;
    }

    public void setTyj(String tyj) {
        this.tyj = tyj;
    }

    @Override
    public String toString() {
        return "Book{" +
                "tid=" + tid +
                ", tname='" + tname + '\'' +
                ", tzz='" + tzz + '\'' +
                ", tcbs='" + tcbs + '\'' +
                ", tzk='" + tzk + '\'' +
                ", tjg='" + tjg + '\'' +
                ", tyj='" + tyj + '\'' +
                '}';
    }
}
